home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_pru_boulderblock.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
854b
|
43 lines
# Jones 3D Cog Script
#
# PRU_boulderblock.cog
#
# Keeps you from seeing beyond the boulder when you're in the forest for framerate purposes.
#
# [GGJ]
#
# (C) 1998 LucasArts Entertainment Co. All Rights Reserved
# ========================================================================================
symbols
message startup
message crossed
surface nearlight
sector bouldersector nolink
end
# ========================================================================================
code
startup:
SectorAdjoins(bouldersector, 0);
return;
# ========================================================================================
crossed:
If (GetSenderRef() == nearlight)
{
Print("crossed");
SectorAdjoins(bouldersector, 1);
}
return;
end